﻿import QtQuick 2.15

Item {
    id: item1
    anchors.fill: parent
    Image {
        id: startImage
        width: parent.width/2
        height: width
        anchors.verticalCenter: parent.verticalCenter
        anchors.horizontalCenter: parent.horizontalCenter
        source: "qrc:/img/chatonline.png"
    }
    Text {
        id: startText
        text: qsTr("在线聊天")
        anchors.top: startImage.bottom
        font.pointSize: 24
        font.bold: true
        font.family: kuaikanshijietiFont.font.family
        anchors.horizontalCenter: parent.horizontalCenter
        anchors.topMargin: 0

    }


    Timer {
        id: startImgTimer
        interval: 500
        running: true
        repeat: false
        onTriggered: onStartAppCloseImage()

    }

    function onStartAppCloseImage(){
        startImage.visible = false
        startText.visible = false
        rootWindow.color = "#ffffff"
        showPageLoader.source = "qrc:/PageManager.qml"
    }

}
